Skip to main content
Interactive command-line inference. Accepts the same model and context flags as llama-server.
Pass -i for interactive (chat) mode. Use --completion-bash to generate shell tab-completion:
Quantize a full-precision GGUF to a smaller quantization type.
Generate an importance matrix from a calibration dataset. The output .imatrix file is passed to llama-quantize.
Use convert_imatrix_gguf_to_dat.py to convert GGUF imatrix files to the legacy .dat format if needed.
Standard benchmark utility for measuring prompt processing (PP) and token generation (TG) throughput.
Extended benchmark that runs a series of PP batches followed by TG without clearing the KV cache. The N_KV column in the output shows the KV cache occupancy at each measurement point.Accepts the same model/context flags as llama-server.
Convert a HuggingFace model checkpoint to GGUF format.
Supports legacy quantization conversion schemes. Run with --help for all options. For split output models, combine with llama-gguf-split to produce multi-part GGUFs.